package service;

import java.sql.Date;
import java.util.List;

import dao.IDao_Class;

import model.Class_NIIT;
import model.Classroom;
import model.Major;
import model.Teacher;
import model.Type;

public interface IService_Class
{
	List<Class_NIIT> queryAll(int scale);

	List<Class_NIIT> queryByTeacher(String teacher, int scale);

	List<Class_NIIT> queryByClassRoom(String classroom, int scale);

	List<Class_NIIT> queryByDate(String date, int scale);

	List<Class_NIIT> queryByMajor(String major, int scale);

	List<Class_NIIT> queryByType(String type, int scale);

	List<Class_NIIT> queryByDescribe(String describe, int scale);

	List<Class_NIIT> queryByCurrentStudentCount(int currentStudentCount,
			int scale);

	int addTeacher(Teacher teacher);

	int addClassroom(Classroom classroom);

	int addMajor(Major major);

	int addType(Type type);

	int deleteTeacher(Teacher teacher);

	int deleteClassroom(Classroom classroom);

	int deleteMajor(Major major);

	int deleteType(Type type);

	int addClass(Class_NIIT classNIIT);

	void modifyDescription(Class_NIIT classNIIT, String description);

	int deleteClass(Class_NIIT class_NIIT);

	int modifyClass(Class_NIIT originalClass, Class_NIIT modifyClass);

	int combineClass(Class_NIIT modifyClass,IService_Student serviceStudent);
	
	int endClass(Class_NIIT class_NIIT);

}
